# -*- coding: utf-8 -*- 

import  xdrlib ,sys
import xlrd

#import chardet  
data = xlrd.open_workbook("1.xls")  
table = data.sheets()[0]  
nrows = table.nrows  
# for i in range(nrows):  
# #print chardet.detect(str(table.row_values(i)))  
#         # print table.row_values(i)
#         # print str(table.row_values(4)).decode("unicode_escape").encode("utf8")  

# a = str(table.row_values(3)).decode("unicode_escape").encode("utf8")
# b = table.row_values(38)
# print table.cell(1,3).value
# print "fsdaf"
# print b
# print len(b[1])
# for x in range(25):
#     if len(b[x])!=0:
#     	c=b[x]
#         print c
# if c == u"数据解读":
#     print "zhegnque"
# else:
#     print "cuowu"
